#Server configuration
#Set available ports for application to use
#Example: 
# port: 8080
# adminPort: 8081
http:
  port: 8080
  adminPort: 8081

#Application path
#Application path is used in application for receiving and sending requests
#Path can be absolute, relative or null
#applicationPath: http://127.0.0.1:8080
#applicationPath: custom-url
#Note: custom-url prefix will be used in addition to application and context path, ex: http://127.0.0.1:8080/custom-url
#applicationPath: null
#Note: null value will set default application request URI, in this case http://127.0.0.1:8080/
applicationPath: null

#Files path
#Set root path for files and images
#ATTENTION: Root path should contain files, otherwise file browser will be empty
#Example: E:/Projects/GroupDocs/app/xFiles
filesPath: G:/Projects/GroupDocs/app/xFiles

#Licence path
#Set path to licence file
#ATTENTION: If you don't have a licence file leave licencePath as it is
#Example: D:/Projects/GroupDocs/Apps/0-resources/licenses/groupdocs.viewer/GroupDocs.Viewer.Java.lic
licensePath: null

#Locales path
#Locales path is used to change application locale if supported
#If locales path is null, then viewer's default locales will be used
#Note: locales path is a directory path, do not specify full path to locale file. System will automatically detect system locale and set it using one of the existing locales from specified directory.
localesPath: null

#Upload path
#Set relative path for file uploads
#Example: 'uploadPath: uploads', this way file will be uploaded into /filesPath/uploads/
#Set null for default directory, the default directory is filesPath/ directory
uploadPath: null

#Cache path
#Cache custom location as absolute path
#Example: D:/Projects/GroupDocs/Apps/temp/
cachePath: null

#Cache
#Use cache generated files
useCache: true

#Browser cache
#Use browser cache
useBrowserCache: true

#Total max cache size for temp directory (in MB)
#Set null or 0 for unlimited size
maxCacheSize: 0

#File expiration date
#File upload expiration date in minutes
#Set to 0 if file is never expired
expirationDate: 0

#Encryption key
#NOTE: key must be 16 characters long!
encryptionKey: GroupDocsEncrypt

#Charset
#Default charset is UTF-8
#Set parameter as null for default charset
encoding: UTF-8

#*******************************
# FRONT-END (UI) CONFIGURATION
#*******************************

#HTML output
#If true all documents will be converted to HTML instead of images
#IMPORTANT: if this flag is set to 'true', useCache flag should be 'true' as well
useHtmlBasedEngine: true

#Use png images For html based engine
usePngImagesForHtmlBasedEngine: true


# BASIC VISUAL OPTIONS
#------------------------

#Quality
#Default quality of generated images
quality: 100

#Width
#Viewer width
#Note: set 0 to use 100% initial width
width: 0

#Height
#Viewer height
height: 650

#Initial zoom
initialZoom: 100

#Zoom to fit width
zoomToFitWidth: true

#Zoom to fit height
zoomToFitHeight: false

#Viewer style
viewerStyle: 1


# CONTROL BUTTONS OPTIONS
#------------------------

#Show header
showHeader: true

#Show folder browser button
showFolderBrowser: true

#Show print button
showPrint: true

#Show download button
showDownload: true

#Show zoom button
showZoom: true

#Show paging
showPaging: true

#Show viewer style control
showViewerStyleControl: true

#Show search
showSearch: true

#Show download errors in popup
showDownloadErrorsInPopup: false

#Show image width
showImageWidth: false


# THUMBNAILS OPTIONS
#-------------------

#Show thumbnails
showThumbnails: true

#Open thumbnails
openThumbnails: true

#Thumbnails container width
#NOTE: minimum 0
thumbnailsContainerWidth: 0

#Use inner thumbnails
useInnerThumbnails: true


# PRINT & DOWNLOAD OPTIONS
#-------------------------

#Use pdf printing
usePdfPrinting: true

#Use image based printing
useImageBasedPrinting: true

#Print with watermark
printWithWatermark: false

#Download file as PDF
downloadPdfFile: false

#jQuery file download name
jqueryFileDownloadCookieName:


# SEARCH OPTIONS
#---------------

#Search for separate words
searchForSeparateWords: false

#Treat phrases in double quotes as exact phrases
treatPhrasesInDoubleQuotesAsExactPhrases: false

#Load all pages on search
loadAllPagesOnSearch: false


# WATERMARK OPTIONS
#------------------

#Watermark text
#NOTE: leave empty to disable
watermarkText:

#Watermark color
#Default: black
#Values: use CSS color values (\#fff, \#ffffff, rgb(0,0,0), rgba(0,0,0,1), red, white, etc)
#NOTE: leave empty for default
watermarkColor:

#Watermark font size (in pt)
#NOTE: set 0 to default auto-sized (depends on text length and document size: width and height)
#NOTE: if useHtmlBasedEngine=true then default size is 16px
watermarkFontSize: 0

#Watermark position
#Default: horizontal
#Values: diagonal, horizontal, vertical
#NOTE: leave empty for default
watermarkPosition:


# OTHER OPTIONS
#--------------

#Pre-load pages count
preloadPagesCount: 0

#Minimum image width
minimumImageWidth: 0

#Support text selection
#Set if user will be able to select(copy) text
supportTextSelection: true

#Support page reordering
supportPageReordering: false

#Only shrink large pages
onlyShrinkLargePages: true

#Enable standard error handling
enableStandardErrorHandling: true

#preventTouchEventsBubbling
preventTouchEventsBubbling: false

#Show one page in row
showOnePageInRow: false

#Use em scaling
useEmScaling: false

#File display name
#Will display file name on each document opening
fileDisplayName:

#Convert Word Documents Completely
convertWordDocumentsCompletely: false 

#Ignore Document Absence
ignoreDocumentAbsence: false 

#Pre-load pages on browser side
preloadPagesOnBrowserSide: false

#Support page rotation
supportPageRotation: false


# STYLING OPTIONS
#----------------

#Background color
#NOTE: leave empty for default
backgroundColor:

#Search highlight color
searchHighlightColor:

#Current search highlight color
currentSearchHighlightColor:

#Toolbar buttons box shadow style
#NOTE: leave empty for default
toolbarButtonsBoxShadowStyle:

#Toolbar buttons box shadow hover style
#NOTE: leave empty for default
toolbarButtonsBoxShadowHoverStyle:

#Thumbnails container background color
#NOTE: leave empty for default
thumbnailsContainerBackgroundColor:

#Thumbnails container border right color
#NOTE: leave empty for default
thumbnailsContainerBorderRightColor:

#Toolbar border bottom color
#NOTE: leave empty for default
toolbarBorderBottomColor:

#Toolbar input field border color
#NOTE: leave empty for default
toolbarInputFieldBorderColor:

#Toolbar button border color
#NOTE: leave empty for default
toolbarButtonBorderColor:

#Toolbar button border hover color
#NOTE: leave empty for default
toolbarButtonBorderHoverColor: